package com.lovo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("t_order")
public class OrderEntity implements Serializable {
    @TableId("orderId")
    private long oderId;
    @TableField("orderNum")
    private String orderNum;
    @TableField("buyNum")
    private int buyNum;
    @TableField("buyPrice")
    private float buyPrice;
    @TableField("fk_movieId")
    private int movieId;
    @TableField(exist = false)
    private MovieEntity movieEntity;
    @TableField("tag")
    private int tag;//0-本地下单成功，1-下单未出票 2-出票成功 3-出票失败
}
